package com.gorkr.hot100.simple;

/**
 * @author gorkr
 * @date 2022/03/15 20:05
 **/
public class L283 {
    public void moveZeroes(int[] nums) {
        int low=0,fast=0;
        for (; fast <nums.length ; fast++) {
            if(nums[fast]!=0){

                nums[low]=nums[fast];
                nums[fast]=0;
                low++;

            }else {
                continue;
            }
        }
    }

}
    